<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd"
        >
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>OrderPanel</title>
</head>
<body>
<wicket:panel>


    <div class="center_title_bar">Nákupní košík</div>


    <div class="prod_box_big">
        <div class="top_prod_box_big"></div>
        <div class="center_prod_box_big">

            <table border="2">
                <thead class="product_title_big">
                <tr>
                    <th>Názek produktu</th>
                    <th>Cena jednoho kusu</th>
                    <th>Cena všech kusů</th>
                    <th>Počet</th>
                    <th>Smazat</th>
                    <th>Změnit</th>
                </tr>
                </thead>
                <tbody>


                <div wicket:id="order">
                    <form wicket:id="form">
                        <tr>


                            <td><span wicket:id="name"></span></td>

                            <td>
                                <div><span wicket:id="price">Cena jednoho kusu</span>
                                    <span> Kč</span>
                                </div>
                            </td>
                            <td>
                                <div><span wicket:id="sumPrice">Cena všech kusů</span>
                                    <span> Kč</span>
                                </div>
                            </td>

                            <td><input style="width:2em" type="text" wicket:id="multiplicity"/></td>
                            <td><input wicket:id="delete" type="submit" value="Smazat"
                                       wicket:message="value:shop.order.basket.delete"/></td>
                            <td><input wicket:id="update" type="submit" value="Změnit"
                                       wicket:message="value:shop.order.basket.change"/></td>

                        </tr>

                    </form>
                </div>


                </tbody>
            </table>


        </div>
        <div class="bottom_prod_box_big"></div>
    </div>


    <div class="prod_box_big">
        <div class="top_prod_box_big"></div>
        <div class="center_prod_box_big">

            <div class="product_title_big" wicket:id="empty">Váš košík je prázdný.</div>

            <form wicket:id="mainForm">
                <input class="product_title" wicket:id="acceptOrder" type="submit" value="Confirm order"
                       wicket:message="value:shop.order.confirm"/><br/>

                <div class="prod_price_big" id="price">Celková cena: <span class="price" wicket:id="totalPrice"></span>
                    <span class="price" id="currency"> Kč</span>
                </div>
            </form>


        </div>
        <div class="bottom_prod_box_big"></div>
    </div>


</wicket:panel>
</body>
</html>
